package com.mall.service;

import com.mall.pojo.GoodsFreightPo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.vo.PageObject;
import com.mall.vo.SysResult;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * <p>
 * 运费表 服务类
 * </p>
 *
 * @author zhangshiqi
 * @since 2020-09-13
 */
public interface GoodsFreightService {

    /**
     * 分页查询运费数据
     */
    PageObject<GoodsFreightPo> doFindPageObject(String freightName, Integer pageCurrent);

    /**
     * 删除运费数据
     */
    void doDeleteObjects(String ids);

    /**
     * 新增运费数据
     */
    void doAddObjects(GoodsFreightPo goodsFreightPo);

    /**
     * 根据ID查询运费数据
     */
    GoodsFreightPo doFindGoodsFreightById(String id);

    /**
     * 修改运费数据
     */
    void doUpdateObjects(GoodsFreightPo goodsFreightPo);

}
